<template>
  <div class="pro-info">
		<p>{{name}}</p>
		<p>
			价格:
			<span>{{price | toFixed | rmb}}元</span>
		</p>
	</div>
</template>

<script>
export default {
  props:{
    name:{//商品名字
      type:String,
      required:true,
      default:""
    },
    price:{//商品价钱
      type:Number,
      required:true,
      default:0
    }
  }
}
</script>

<style>

</style>